#include "headfiles.h"

using namespace std;

int main(int argc, char **argv) {
    if (argc != 2) {
        cout << "Usage: " << argv[0] << " str" << endl;
        return 0;
    }

    string input(argv[1]);
    string res = longestPalindromeString1(input);

    cout << "Input:" << argv[1] << endl;
    cout << "Ouput:" << endl;
    cout << res << endl;

    return 0;
}

